package com.yanfan.iot.domain;

import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DeviceLifecyle", description = "设备生命周期表 iot_device_lifecyle")
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class DeviceLifecyle extends BaseEntity {

    /**
     * 编号
     */
    @ApiModelProperty("编号")
    private Long lifeCycleId;

    /**
     * 设备ID
     */
    @ApiModelProperty("设备ID")
    private Long deviceId;

    /**
     * 设备维修状态 1:未安装、2:安装、3:维修、4:报废
     */
    @ApiModelProperty("设备维修状态")
    private int devcieStatus;
}
